import type { RouteRecordRaw } from 'vue-router'
import Layout from '@/views/layout/index.vue'

export const listModules: RouteRecordRaw = {
  path: '/list',
  name: 'listLayout',
  component: Layout,
  redirect: '/list',
  meta: {
    title: '列表'
  },
  children: [
    {
      path: '/list',
      name: 'list',
      component: () => import(/* webpackChunkName: "list" */ '@/views/list/index.vue'),
      meta: {
        title: '列表',
        keepAlive: true
      }
    }
  ]
}
